//
//  DNK_ImageClippingManager.h
//  SanMuHui
//
//  Created by user on 2017/10/12.
//  Copyright © 2017年 Dnake. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>
#import "VPImageCropperViewController.h"

@protocol DNKImageClippingDelegate <NSObject>

- (void)imageCropperdidFinished:(UIImage *)editedImage; 

@end

@interface DNK_ImageClippingManager : NSObject <VPImageCropperDelegate, UINavigationControllerDelegate, UIImagePickerControllerDelegate>

/** 创建单利类 */
+ (instancetype)shareManager;

@property (nonatomic, assign) id<DNKImageClippingDelegate> delegate;

- (void)getImageFromIpc:(UIImagePickerControllerSourceType)sourceType viewController:(UIViewController *)viewController;

@end
